package com.xxxx.server.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xxxx.server.mapper.AddUserMapper;
import com.xxxx.server.pojo.Admin;
import com.xxxx.server.service.IAddUserService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AddUserServiceImpl extends ServiceImpl<AddUserMapper, Admin> implements IAddUserService {
    @Autowired
    private AddUserMapper addUserMapper;

    @Override
    public List<Admin> getDataByAddUserName(String addUserName) {
        return addUserMapper.getDataByAddUserName(addUserName);
    }
}
